package com.yuke.cloud.service.pmc.service;

import com.yuke.cloud.common.core.support.IService;
import com.yuke.cloud.service.api.pmc.dto.ProdSpecInfoExDto;
import com.yuke.cloud.service.pmc.dto.ProdMainAttrDto;
import com.yuke.cloud.service.pmc.dto.ProdSpecInfoAndPriceDto;
import com.yuke.cloud.service.pmc.entity.ProdSpec;

import java.util.List;


/**
 * Created by zys on 2018/09/27.
 */
public interface ProdStorageService extends IService<ProdSpec> {

    List<ProdSpecInfoAndPriceDto> getProdStorageByCategoryId(Long categoryId, Long shopId);
    ProdSpecInfoAndPriceDto getSpecByMainAttribute(ProdMainAttrDto prodMainAttrDto, Byte saleType, Long shopId);
    List<ProdSpecInfoExDto> getAppSpecInfoBySpecIds(List<Long> specIds);
}
